 * {
   margin: 0;
   padding: 0;
   box-sizing: border-box;
   font-family: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
 }

 :root {
   --primary-green: #28a745;
   --primary-blue: #1e88e5;
   --light-bg: #f8f9fa;
   --card-bg: #ffffff;
   --text-dark: #2c3e50;
   --text-medium: #555;
   --shadow-light: 0 3px 12px rgba(0, 0, 0, 0.06);
 }

 body {
   background: linear-gradient(135deg, #e8f5e9 0%, #f1f8e9 100%);
   height: 100vh;
   display: flex;
   justify-content: center;
   align-items: center;
 }

 .auth-container {
   width: 100%;
   max-width: 900px;
   background: var(--card-bg);
   border-radius: 20px;
   box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
   overflow: hidden;
   display: flex;
   transition: all 0.5s ease;
 }

 /* 左侧宣传区域 */
 .auth-hero {
   width: 40%;
   background: linear-gradient(135deg, #28a745, #4caf50);
   color: white;
   padding: 60px 40px;
   display: flex;
   flex-direction: column;
   justify-content: center;
   position: relative;
   overflow: hidden;
 }

 .auth-hero::before {
   content: "";
   position: absolute;
   top: -50%;
   right: -50%;
   width: 200%;
   height: 200%;
   background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
 }

 .auth-hero h2 {
   font-size: 32px;
   font-weight: 700;
   margin-bottom: 20px;
   position: relative;
   z-index: 2;
 }

 .auth-hero p {
   font-size: 16px;
   line-height: 1.6;
   opacity: 0.9;
   position: relative;
   z-index: 2;
 }

 .auth-hero-icon {
   font-size: 120px;
   position: absolute;
   right: 30px;
   bottom: 30px;
   opacity: 0.1;
   z-index: 1;
 }

 /* 右侧表单区域 */
 .auth-form-container {
   width: 60%;
   padding: 60px;
   position: relative;
 }

 .auth-tabs {
   display: flex;
   margin-bottom: 40px;
   border-bottom: 2px solid #eee;
 }

 .auth-tab {
   padding: 12px 25px;
   font-size: 18px;
   font-weight: 600;
   color: var(--text-medium);
   cursor: pointer;
   transition: all 0.3s;
   position: relative;
 }

 .auth-tab.active {
   color: var(--primary-green);
 }

 .auth-tab.active::after {
   content: "";
   position: absolute;
   bottom: -2px;
   left: 0;
   width: 100%;
   height: 3px;
   background: var(--primary-green);
   border-radius: 3px 3px 0 0;
 }

 .auth-form {
   display: none;
 }

 .auth-form.active {
   display: block;
   animation: fadeIn 0.5s ease;
 }

 .form-group {
   margin-bottom: 25px;
   position: relative;
 }

 .form-group label {
   display: block;
   font-size: 14px;
   color: var(--text-medium);
   margin-bottom: 8px;
   font-weight: 500;
 }

 .form-control {
   width: 100%;
   padding: 14px 20px;
   border: 1px solid #ddd;
   border-radius: 8px;
   font-size: 16px;
   transition: all 0.3s;
 }

 .form-control:focus {
   border-color: var(--primary-green);
   box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.2);
   outline: none;
 }

 .btn {
   display: inline-block;
   padding: 14px 30px;
   background: var(--primary-green);
   color: white;
   border: none;
   border-radius: 8px;
   font-size: 16px;
   font-weight: 600;
   cursor: pointer;
   transition: all 0.3s;
   width: 100%;
 }

 .btn:hover {
   background: #218838;
   transform: translateY(-2px);
 }

 .auth-footer {
   margin-top: 30px;
   text-align: center;
   font-size: 14px;
   color: var(--text-medium);
 }

 .auth-footer a {
   color: var(--primary-green);
   text-decoration: none;
   font-weight: 600;
 }

 /* 弹窗样式 */
 .modal-overlay {
   position: fixed;
   top: 0;
   left: 0;
   right: 0;
   bottom: 0;
   background: rgba(0, 0, 0, 0.5);
   display: flex;
   justify-content: center;
   align-items: center;
   z-index: 1000;
   opacity: 0;
   visibility: hidden;
   transition: all 0.3s;
 }

 .modal-overlay.active {
   opacity: 1;
   visibility: visible;
 }

 .modal-content {
   background: white;
   padding: 40px;
   border-radius: 15px;
   max-width: 400px;
   width: 90%;
   text-align: center;
   transform: translateY(20px);
   transition: all 0.3s;
 }

 .modal-overlay.active .modal-content {
   transform: translateY(0);
 }

 .modal-icon {
   font-size: 60px;
   color: var(--primary-green);
   margin-bottom: 20px;
 }

 .modal-title {
   font-size: 24px;
   font-weight: 700;
   margin-bottom: 15px;
   color: var(--text-dark);
 }

 .modal-text {
   font-size: 16px;
   color: var(--text-medium);
   margin-bottom: 25px;
   line-height: 1.6;
 }

 .modal-btn {
   padding: 12px 30px;
   background: var(--primary-green);
   color: white;
   border: none;
   border-radius: 8px;
   font-size: 16px;
   font-weight: 600;
   cursor: pointer;
   transition: all 0.3s;
 }

 .modal-btn:hover {
   background: #218838;
 }

 @keyframes fadeIn {
   from {
     opacity: 0;
     transform: translateY(10px);
   }

   to {
     opacity: 1;
     transform: translateY(0);
   }
 }

 /* 响应式设计 */
 @media (max-width: 768px) {
   .auth-container {
     flex-direction: column;
     max-width: 95%;
   }

   .auth-hero,
   .auth-form-container {
     width: 100%;
   }

   .auth-hero {
     padding: 40px 30px;
     text-align: center;
   }

   .auth-form-container {
     padding: 40px 30px;
   }

   .auth-hero-icon {
     display: none;
   }
 }